package org.zjvis.datascience.common.gis.GisUtils;

import com.google.common.collect.Lists;
import java.util.List;

public class GisConstant {

	/**
	 * 渲染图层，需要过滤的列名
	 */
	public static final List<String> GEO_JSON_UNUSED_COLUMNS = Lists.newArrayList("geom", "geom_4326");

	public static final String GEOM_COLUMN_NAME = "geom";

	/**
	 * 下载数据时，需要过滤的字段
	 */
	public static final List<String> DOWNLOAD_GIS_DATA_UNUSED_COLUMNS = Lists.newArrayList("_record_id_", "geom", "geom_4326");

	/**
	 * geoJson分片数据，缓存的时间
	 */
	public static final Integer SLICE_GEOJSON_EXPIRE_TIME = 60 * 60;

	/**
	 * 分片元数据，缓存的时间
	 */
	public static final Integer SLICE_META_DATA_EXPIRE_TIME = 60 * 60;

	/**
	 * 预加载时，partition的数量
	 */
	public static final Integer PRE_LOAD_PARTITION_NUMBERS = 4;
}
